package com.sca.user.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Embrace 00105568
 * @version 1.0
 * @description:
 * @date 2021/7/7 16:10
 * @git https://gitee.com/EmbraceQAQ
 */
// 注册到spring容器
@Service
// 调动名称为order模块的服务接口
@FeignClient(name = "sca-order")
public interface UserConsumerTest {
    // 调用orderProviderTest/test服务
    @RequestMapping("orderProviderTest/test")
    String orderProviderTestRemote();
}
